package log;

/**
 * Implements the logging system of SMS. 
 * @author Alexandre, Cristovao, Raul, Rodolpho, Tales
 * @version 1.1
 * @milestone Number 2
 */
public class SmsLog implements Registrable{

	/**
	 * Get the type of the service that uses logging
	 * @return the type of the service (sms)
	 */
	public String getService() {
		return "sms";
	}

	/**
	 * Get the error message if any problems occur when log the SMS. 
	 * @return the error message
	 */
	public String getErrorMessage() {
		return "Erro ao enviar sms.";
	}

	/**
	 * Get the success message if no problems occur when log the SMS. 
	 * @return the success message
	 */
	public String getSuccessMessage() {
		return "SMS enviado com sucesso.";
	}
}
